import { Get, Post } from './request'

/** 登录 */
export const login = (params: any) => Post('/admin/login', params) 

/** 登出 */
export const logout = () => Get('/admin/logout')